
/**
  ******************************************************************************
  * Copyright 2021 The Microbee Authors. All Rights Reserved.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  * 
  * http://www.apache.org/licenses/LICENSE-2.0
  * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * 
  * @file       sim_multicopter.h
  * @author     baiyang
  * @date       2022-11-30
  ******************************************************************************
  */

#pragma once

#ifdef __cplusplus
extern "C"{
#endif

/*----------------------------------include-----------------------------------*/
#include "sim_aircraft.h"
#include "sim_motor.h"
#include "sim_frame.h"
/*-----------------------------------macro------------------------------------*/

/*----------------------------------typedef-----------------------------------*/
typedef struct sim_multicopter* sim_multicopter_t;
typedef const struct sim_multicopter* sim_multicopter_const_t;

struct sim_multicopter {
    struct sim_aircraft aircraft;

    sim_frame_t frame;
};
/*----------------------------------variable----------------------------------*/

/*-------------------------------------os-------------------------------------*/

/*----------------------------------function----------------------------------*/
// static object creator
sim_aircraft_t sim_multicopter_create(const char *frame_str);

void sim_multicopter_ctor(sim_multicopter_t multicopter, const char *frame_str);
/*------------------------------------test------------------------------------*/

#ifdef __cplusplus
}
#endif



